package com.warom.sdg.dto;

/**
 * 通风控制数据传输对象
 * 用于前端与后端交互时传递通风控制参数
 */
public class VentilationControlDto {
    
    /** 设备子类型 */
    private String deviceSubType;
    
    /** 设备ID */
    private String deviceId;
    
    /** 测点地址 */
    private String pointAddress;
    
    /** 操作类型：on/off/stop */
    private String action;
    
    /** 是否批量控制 */
    private boolean controlAll;

    public String getDeviceSubType() {
        return deviceSubType;
    }

    public void setDeviceSubType(String deviceSubType) {
        this.deviceSubType = deviceSubType;
    }


    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getPointAddress() {
        return pointAddress;
    }

    public void setPointAddress(String pointAddress) {
        this.pointAddress = pointAddress;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public boolean isControlAll() {
        return controlAll;
    }

    public void setControlAll(boolean controlAll) {
        this.controlAll = controlAll;
    }

    @Override
    public String toString() {
        return "VentilationControlDto{" +
                "deviceSubType='" + deviceSubType + '\'' +
                ", deviceId=" + deviceId +
                ", pointAddress='" + pointAddress + '\'' +
                ", action='" + action + '\'' +
                ", controlAll=" + controlAll +
                '}';
    }
} 